package com.easy.easy.Service;

import com.easy.easy.bean.Admin;
import com.easy.easy.bean.Category;
import com.easy.easy.util.Page;
import org.springframework.boot.autoconfigure.kafka.KafkaProperties;

import java.util.List;

public interface IAdminService {
    int add(Admin admin);
    int edit(Admin admin);
    int delete(int adminid);
    List<Admin> getList(Page page, String text);
    Admin getAdminByAdminName(String adminname);
    int getCount(String text);
}
